home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu178.dms / pu178.adf / DOCUMENTATION / OTHERS / multi_player.doc < prev    next >
Text File  |  1994-11-01  |  9KB  |  287 lines

  1.  
  2.  
  3.                MULTI_PLAYER
  4.  
  5.                Version   1.5
  6.  
  7. New features since v1.2:
  8.     - ARexx support 
  9.     - start as a background start.
  10.     - Med replay
  11.        - better look !
  12.  
  13. contents:
  14.    1. General overview
  15.  
  16.    2. Usage
  17.  
  18.    3. Modify the programm
  19.  
  20.    4. Arexx or other programm interface
  21.    
  22.    5. History
  23.  
  24.    6. Copyright information
  25.  
  26.  
  27. IMPORTANT NOTE: To use multi_player you must have the req.library
  28.  
  29.    #########################
  30.    #  1. GENERAL OVERVIEW  #
  31.    #########################
  32.  
  33.    This programm tries to make only one workbench-replayer instead of ten...
  34. For example an intuitracker, a jamcracker replay...and so on!
  35.    But, before finishing this project the 'NoisePlayer' appeared,
  36. Noiseplayer attempted to accomplish the same functions but was lacking in 
  37. some areas: The addition of new replayers was not possible and had an
  38. unnecessarily large window on-screen.
  39. With this in mind I have continued this project and will hopefully make
  40. this program as-good as or better that Noiseplayer...
  41. Source will be available in public domain, so everybody can add their own
  42. replayer routines. See end to see how this is done.
  43.  
  44.    Features:
  45.  
  46.    - Use req.library
  47.  
  48.    - Support:
  49.          Soundtracker (but not the earlier ones)
  50.          Noisetracker
  51.          Protracker
  52.          Startrekker (include AM and FM modules)
  53.      MED3.0 (and Less?)
  54.          Jamcracker
  55.          Soundmonitor
  56.          FutureCOmposer
  57.          Delta
  58.          TFMX
  59.          Sidmon (bugmon?)
  60.      Noisetracked Packed
  61.  
  62.    - Can load crunched modules with powerpacker
  63.  
  64.    - Can be used "automatically" to start different song, without any
  65.      action of the user. Nice for slideshows (or musicshows)
  66.  
  67.    - Can be iconified
  68.  
  69.    - Little window!
  70.  
  71.    - Uses timer for replay, so it must work even on NTSC!
  72.  
  73.    - "Real amiga program", this means: correct use of workbench(read on)
  74.  
  75.    - AREXX port! So now you can programm the player without any action of the
  76. user!!!
  77.  
  78.    - Start as a background task
  79.  
  80. Note: there is no continuous (loop)play, because it is difficult to check
  81. when the module is finished with all the different replayers (i.e. Delta).
  82. There is the same problem when trying to incorporate VU meters, so no extra
  83. Controls...
  84.  
  85.    #########################
  86.    #   2.USAGE             #
  87.    #########################
  88.  
  89.    From cli: 
  90.    ---------
  91.  
  92.       multi_player [-w] [-r] [-s#] [-i] [song_name] [?]
  93.  
  94.       Just type multi_player and the requester will appear.
  95.       Or Typing multi_player <song name> will start the named song
  96.       In this case, press the both mousebuttons to stop playing.
  97.  
  98.     Options:
  99.  
  100.     -w:    Do not open the window where the gadgets are
  101.     -r:    Do not request for a song after the window is open
  102.                      (but open the window anyway)
  103.     -s#:    Determine the way to stop the song, if the window is not open.
  104.         ( the default is 4!)
  105.         if #=1  -> Press the left mousebutton to stop
  106.         if #=2  -> Press the right mousebutton to stop
  107.         if #=3  -> Press the both  mousebuttons to stop
  108.         if #=4  -> Press the left amiga + cntrl to stop
  109.         if #=5  -> No way to stop! (except using ARexx or cmd_player)
  110.  
  111.     Just type Multi_Player ? for short infos
  112.  
  113.    From Workbench:
  114.    ---------------
  115.  
  116.        just click on the icon and the requester will apears.
  117.  
  118.       But, you can also do multi-selection:
  119.  
  120.       - Press <shift> AND Click on one or more icons of the songs
  121.       that you want to play, and finally on the multi_player icon.
  122.       - If the default tool of the icon is c:multi_player, just
  123.       click on it! 
  124.       And in the both cases, juste click on the both mousebuttons
  125.       to stop.
  126.  
  127. If there is no songname specifed, a filerequester will appear, choose one
  128. module to load.
  129.  
  130.    After choosing a file, ( or clicking CANCEL), a window will appear,
  131. containing four buttons:
  132.  
  133.    '-': to iconify the window -> just click on the window to re-open
  134.    'STOP/START': if a song was playing, this stop the song. Press once
  135.     again to start it again.
  136.    'NEW':  to choose a new module to play
  137.    '?'  : to get some information on:
  138.           the current module.
  139.           Version of the programm.
  140.           Name of the module,size and type of replay used.
  141.  
  142.    If you try to choose an unknown type of module, the programm will
  143. continue playing the previous one (if one exists).
  144.  
  145. NOTES:
  146.  1) When you use TFMX modules, you can press keys 1-0 for different songs,
  147. but only when you load it using the requester.
  148.  
  149.  2) AM startrecker need two files: <songname> and <songename.NT>. If
  150. the second one is missing, the song won't start! 
  151. It's the same with TFMX, there must be two files: <mdat.songname> (the
  152. song data?) and <smpl.songname> (the samples?). If one file is missing,
  153. the song wont start!
  154.  
  155.  
  156.    #########################################
  157.    #   3.ADDING OTHER PLAYROUTINES         #
  158.    #########################################
  159.  
  160.     The source is no more in this disk, but you can have it by sending
  161. me a disk at the adress below.
  162.  
  163.    ##############################################
  164.    # 4. ARexx and other languages interface     #
  165.    ##############################################
  166.  
  167.    You can read this, even if you don't use ARexx, or if you are not a
  168. programmer but only a CLI user, because there is a progamm named "cmd_player"
  169. who allow you to give direct commands to the player!
  170.  
  171. 1) ARexx interface:
  172. -------------------
  173.  
  174.     I don't want to explain you what is ARexx, I'll just tell you how
  175. to use this programm (multi_player) from AREXX:
  176.     The name of the ARexx port is "Multi_Player"
  177.     The commands are: "Play" <songname>-> play a song
  178.             : "Stop"        -> stop the currently played song
  179.             : "Start"       -> restart a previously played song
  180.             : "Select" <number>-> select a tune. Only with TFMX
  181.                : "Quit"       -> quit multi_player
  182.  
  183. Note: all the command must be type exactly with the same caracter than
  184. before!
  185.  
  186. 2)Using cmd_player
  187. ------------------
  188.  
  189.     If you don't have ARexx, you can alos use the possibilities of
  190. multi_player. The programm cmd_player, in this disk, allow you to give
  191. an arexx command to multi_player.
  192.     The syntax is: cmd_player <arexx command to multi_player>
  193.  
  194.     Example:
  195.  
  196.     cmd_player    "Play df0:modules/modules-st/mod.piano"
  197.  
  198.     cmd_player    "Stop"
  199.     cmd_player    "Start"
  200.     cmd_player    "Select 1"
  201.     cmd_player    "Quit"
  202.  
  203.     All these command can be put in a script file!
  204.  
  205. 3)In C or GFABasic.
  206.  
  207.     You can access directly to the ARexx port of mulyi_player. It's
  208. very easy to give hime a command! Jus look at the programm in the example
  209. directory. You have the procedure named send_cmd wich allow you to send
  210. a message to the player. Juste use-it like this:
  211.     
  212.     send_cmd("Play modules/mod.song");
  213.  
  214.     So, you can use this player in your games....you don;t have to include 
  215. any specific replayer in your code. This one handle a lot of different
  216. kind of musi-program, and you can have in one programm different kinds
  217. of tunes: some from soundtracker, som from TFMX,etc....
  218.     Look at the examples on this disk!
  219.  
  220.    #########################
  221.    #   5.HISTORY           #
  222.    #########################
  223.  
  224.  
  225. Version 1.0 (31/03/91):
  226.    Many modules can be replayed.
  227.    Maybe a memory error with soundtracker modules? Very strange and
  228.    hard to find!
  229.    The c.o startup code of lattice always opens a window when you
  230.    start from workbench...I'll do my own c.o code, but for the moment
  231.    I patch the size of the window using zap (beurk!).
  232.  
  233. Version 1.1 (04/04/91)
  234.    I've used the req.library requester instead of the arp.library.
  235.  
  236. Version 1.2 (25/05/91)
  237.    Own c.o code. No debug window if open from workbench.
  238.    Bug fixed witch the CIA. Now work on WB2.0
  239.    New replay added: Noisetracker packed!
  240.    New you can start a new multi_player without exiting another one.
  241.  
  242. Version 1.3 (10/06/91)
  243.    Background startup (using a modified cback.a )
  244.    ARexx interface added
  245.  
  246. Version 1.4 (10/07/91)
  247.    MED Player Added
  248.  
  249. Version 1.5 (02/01/92)
  250.    Minor bugs removed
  251.    Added the start/stop gadget
  252.    "3D Gadget" buttons.
  253.  
  254.    ############################
  255.    # 6. Copyright information #
  256.    ############################
  257.  
  258.    This programm is freeware and can not be used for commercial purposes.
  259. If you want to distribue it, you must keep this document intact and with
  260. the programm.
  261.    If you have any suggestions, remarks about this programm or maybe you
  262. have discovered a bug the you can write to:
  263.  
  264.    Thomas LANDSPURG
  265.    9, Rue Baldung-Grien
  266.    67000 STRASBOURG
  267.    FRANCE
  268.  
  269.  
  270.    NOTE: the songs in the distribution disk came from various sources,
  271. but I don't now the name of all the authors! 
  272.  
  273. I must greet:
  274.  
  275.    Francois NICO for doing some very good programms
  276.    Flynn/TRISTAR for his great noiseplayer
  277.    Martyn of UGA (and of course RON) for the great NewsFlash mag..
  278.    F.Nico for his grat powerpacker.
  279.    Han Solo/CONCEPT for giving me the new demos!
  280.    F.Fleuret/E.Brunet
  281.    Darren Lambourne for his cool music (and for helping me with English!).
  282.    Skrew for his nices Icons!!!
  283.  
  284.    The windows have been made using powerwindow.
  285.  
  286.    The Amiga for being the best computer at this price!!
  287.